//
//  LYMineSegement.h
//  artist
//
//  Created by Jay_Apple on 16/3/1.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    SegementTypeArtist = 1,//E术家
    SegementTypeFriend,//艺友圈
} SegementType;

typedef void(^selectedBlock)(SegementType);

@interface LYMineSegement : UIView

@property (nonatomic, copy) selectedBlock block;

/**
 *  选择选中Item
 */
- (void)selectType:(SegementType)type;

@end
